#include <iostream>
int sumarango (int n1, int n2, int aux);
using namespace std;
int main()
{
    cout<<sumarango(2,5,0);
    return 1;
}

int sumarango (int n1, int n2, int aux)
{
    while(n1<=n2)
    {
        aux=aux+n1;
        n1++;
    }
    return aux;
}
